<xs:element name="MessageADV" minOccurs="1" maxOccurs="unbounded" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:complexType> <xs:sequence> <xs:element name="DocumentType" type="DocumentType" /> <xs:element name="PreviousDocumentNumber" type="DocumentNumber" /> <xs:element name="GrossLineAmount" type="InvoiceAmount" minOccurs="0" /> <xs:element name="NetLineAmount" type="NetLineAmount" minOccurs="0" /> <xs:element name="AdditionalAmount" type="LineAmountQualified" minOccurs="0" maxOccurs="unbounded" /> <xs:element name="AdditionalDate" type="EDIDateQualified" minOccurs="0" maxOccurs="99" /> <xs:element name="AdditionalReference" type="DocumentLineReferenceQualified" minOccurs="0" maxOccurs="unbounded" /> <xs:element name="MAJT" type="Adjustment" minOccurs="1" maxOccurs="unbounded" /> <xs:element name="NAD" type="NAD" minOccurs="1" maxOccurs="unbounded" /> <xs:element name="ProductADV"> <xs:complexType> <xs:sequence> <xs:element name="IndicatorForDocumentLine" type="IndicatorForDocumentLine" minOccurs="0" /> <xs:element name="LineItemNumber" type="LineItemNumber" minOccurs="0" /> <xs:element name="ProductID" type="ProductIdentifier" minOccurs="0" /> <xs:element name="SeriesID" type="ProductIdentifier" minOccurs="0" /> <xs:element name="AdditionalAmount" type="LineAmountQualified" minOccurs="0" maxOccurs="unbounded" /> <xs:element name="AdditionalDate" type="EDIDateQualified" minOccurs="0" maxOccurs="99" /> <xs:element name="LAJT" type="Adjustment" minOccurs="1" maxOccurs="unbounded" /> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element>